// samsting : this file is auto create.

#include "Ess/2014-08-28/CreateScalingRuleRequest.h"

namespace aliyun { namespace Ess {

CreateScalingRuleRequest::CreateScalingRuleRequest() : RpcAcsRequest("Ess", "2014-08-28", "CreateScalingRule") {
}

int64 CreateScalingRuleRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void CreateScalingRuleRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& CreateScalingRuleRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void CreateScalingRuleRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 CreateScalingRuleRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void CreateScalingRuleRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& CreateScalingRuleRequest::GetScalingGroupId(void) const {
  return ScalingGroupId_;
}
void CreateScalingRuleRequest::SetScalingGroupId(const string& ScalingGroupId) {
  ScalingGroupId_ = ScalingGroupId;
  PutQueryParameter("ScalingGroupId", ScalingGroupId_);
}

const string& CreateScalingRuleRequest::GetScalingRuleName(void) const {
  return ScalingRuleName_;
}
void CreateScalingRuleRequest::SetScalingRuleName(const string& ScalingRuleName) {
  ScalingRuleName_ = ScalingRuleName;
  PutQueryParameter("ScalingRuleName", ScalingRuleName_);
}

int CreateScalingRuleRequest::GetCooldown(void) const {
  return Cooldown_;
}
void CreateScalingRuleRequest::SetCooldown(int Cooldown) {
  Cooldown_ = Cooldown;
  PutQueryParameter("Cooldown", string_ValueOfInt(Cooldown_));
}

const string& CreateScalingRuleRequest::GetAdjustmentType(void) const {
  return AdjustmentType_;
}
void CreateScalingRuleRequest::SetAdjustmentType(const string& AdjustmentType) {
  AdjustmentType_ = AdjustmentType;
  PutQueryParameter("AdjustmentType", AdjustmentType_);
}

int CreateScalingRuleRequest::GetAdjustmentValue(void) const {
  return AdjustmentValue_;
}
void CreateScalingRuleRequest::SetAdjustmentValue(int AdjustmentValue) {
  AdjustmentValue_ = AdjustmentValue;
  PutQueryParameter("AdjustmentValue", string_ValueOfInt(AdjustmentValue_));
}

const string& CreateScalingRuleRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void CreateScalingRuleRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ess {

// end of file 
